package org.kyw.auth.query;

import lombok.Data;
import org.kyw.basic.query.BaseQuery;

/**
 * 角色的查询类
 */
@Data
public class RoleQuery extends BaseQuery {

    private String roleName;

    public void setNumber(Integer number){
        this.setCurrentPage(number);
    }

    public Integer getStart(){
        return (this.getCurrentPage() - 1) * this.getPageSize();
    }

}
